package com.waitingresult.thread;

import java.util.concurrent.locks.ReentrantLock;

/**
 * All right reserved,Designed By WangShuai
 *
 * @author : WangShuai
 * @version : V1.0
 * @ClassName : Mian
 * @Description :
 * @date : 2022/9/18 18:49
 */
public class Mian {
    static int n = 0;

    public static void increment() {
        for (int i = 0; i < 100; i++) {
            n++;
        }
    }

    public static void main(String[] args) throws Exception {
        ReentrantLock a = new ReentrantLock();

        ThreadLocal<String> stringThreadLocal = new ThreadLocal<>();
        stringThreadLocal.set("123");
    }
}
